/**
 * 
 */
package org.springside.examples.miniweb.dao.customer;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springside.examples.miniweb.entity.customer.Customer;

/**
 * @author Bob
 * 
 * @since 6.0
 * 
 */
public interface CustomerDao extends PagingAndSortingRepository<Customer, Long> {
	
	public Customer findById(Long id);

	public Customer findByName(String name);
	
	public List<Customer> findByNameLike(String name);
	
}
